package io.renren.modules.api.service;

import io.renren.modules.api.entity.PsCouponEntity;

import java.util.List;
import java.util.Map;

/**
 * 配送优惠券
 * 
 * @author wangdajiang
 * @email 2750757088@qq.com
 * @date 2018-03-09 11:56:39
 */
public interface PsCouponService {
	
	PsCouponEntity queryObject(Long id);
	
	List<PsCouponEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(PsCouponEntity psCoupon);
	
	void update(PsCouponEntity psCoupon);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	List<PsCouponEntity> queryListByUserId(Long userId);


}
